package com.zhku.xxl.entity;

import java.util.Date;

public class AlumniAdmin {

    private int Id;            // 管理员ID
    private String username;            // 姓名

    private String password;        // 密码
    private String account;         // 账号
    private String contact;         // 联系方式
    private String email;           // 电子邮件
    private Date createdAt;
    private String imageUrl;    //图片


    public AlumniAdmin() {
    }

    public AlumniAdmin(int Id, String username, String password, String account, String contact, String email, Date createdAt, String imageUrl) {
        this.Id = Id;
        this.username = username;
        this.password = password;
        this.account = account;
        this.contact = contact;
        this.email = email;
        this.createdAt = createdAt;
        this.imageUrl = imageUrl;
    }
    public AlumniAdmin(int id, User user) {
        this.Id = id;
        this.username = user.getUsername();
        this.password = user.getPassword();
        this.account = user.getAccount();
        this.contact = user.getContact();
        this.email = user.getEmail();
        this.imageUrl = user.getImageUrl();
    }


    /**
     * 获取
     * @return adminId
     */
    public int getId() {
        return Id;
    }

    /**
     * 设置
     * @param adminId
     */
    public void setId(int adminId) {
        this.Id = adminId;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取
     * @return contact
     */
    public String getContact() {
        return contact;
    }

    /**
     * 设置
     * @param contact
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return createdAt
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * 设置
     * @param createdAt
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * 获取
     * @return imageUrl
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * 设置
     * @param imageUrl
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String toString() {
        return "AlumniAdmin{adminId = " + Id + ", username = " + username + ", password = " + password + ", account = " + account + ", contact = " + contact + ", email = " + email + ", createdAt = " + createdAt + ", imageUrl = " + imageUrl + "}";
    }
}